﻿using System;
using System.Collections.Generic;

namespace SmartCommunity.Models;

/// <summary>
/// 附件表
/// </summary>
public partial class AttachmentEntity
{
    /// <summary>
    /// 附件ID
    /// </summary>
    public byte[] AttachId { get; set; } = null!;

    /// <summary>
    /// 附件类型
    /// </summary>
    public string AttachType { get; set; } = null!;

    /// <summary>
    /// 业务ID
    /// </summary>
    public byte[] BillId { get; set; } = null!;

    /// <summary>
    /// 文件名
    /// </summary>
    public string FileName { get; set; } = null!;

    /// <summary>
    /// 文件类型(后缀)
    /// </summary>
    public string FileType { get; set; } = null!;

    /// <summary>
    /// 文件大小
    /// </summary>
    public long FileSize { get; set; }

    /// <summary>
    /// 文件地址
    /// </summary>
    public string FilePath { get; set; } = null!;

    /// <summary>
    /// 是否图片
    /// </summary>
    public ulong IsPicture { get; set; }

    /// <summary>
    /// 是否删除
    /// </summary>
    public ulong IsDeleted { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreatedBy { get; set; } = null!;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedTime { get; set; }
}
